<?php
    //Office Class define
    include("ClassResidential.php");

    //Link to MySql
    include("mysql_connect.php");

// Load File
$xml = simplexml_load_file("CommonIntereset.xml");
	
	// Read File
	foreach($xml->children()->children()->children() as $child)
	{	// Read Data For Each
		$One = new ResidentialClass;
		$One->AddItemFromXML($child->children());
		
		$One->InsertSQL();
	}
?>